
<template>
  <n-config-provider :theme="darkTheme" :locale="zhCN" :date-locale="dateZhCN">
    <Layout></Layout>
  </n-config-provider>
</template>

<script setup lang="ts">
import Layout from './Layout/index.vue'
import { defineComponent } from 'vue'
// import { NConfigProvider, NInput, NDatePicker, NSpace } from 'naive-ui'
// theme
import { createTheme, inputDark, datePickerDark } from 'naive-ui'
// locale & dateLocale
import { zhCN, dateZhCN } from 'naive-ui'

defineComponent({
    setup() {
      return {
        darkTheme: createTheme([inputDark, datePickerDark]),
        zhCN,
        dateZhCN
      }
    }
})

</script>

<style scoped>

</style>
